package com.my.selectcoursesystem.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "selectstudent")
public class SelectStudent {
    @Id
    @Column(name = "c_id")
    private String cid;
    @Column(name = "c_name")
    private String cname;
    @Column(name = "type")
    private String type;
    @Column(name = "college")
    private String college;
    @Column(name = "teacher_id")
    private String teacherid;
    @Column(name = "course_time")
    private String coursetime;
    @Column(name = "course_week")
    private String courseweek;
    @Column(name = "classroom")
    private String classroom;
    @Column(name = "credits")
    private String credits;
    @Column(name = "total_num")
    private Integer totalnum;
    @Column(name = "s_id")
    private String sid;
    @Column(name = "gender")
    private String gender;
    @Column(name = "age")
    private Integer age;
    @Column(name = "s_code")
    private String scode;
    @Column(name = "grade")
    private String grade;
    @Column(name = "major")
    private String major;
    @Column(name = "scollege")
    private String scollege;
    @Column(name = "s_name")
    private String sname;

    public SelectStudent() {
    }

    public SelectStudent(String cid, String cname, String type, String college, String teacherid, String coursetime, String courseweek, String classroom, String credits, Integer totalnum, String sid, String gender, Integer age, String scode, String grade, String major, String scollege, String sname) {
        this.cid = cid;
        this.cname = cname;
        this.type = type;
        this.college = college;
        this.teacherid = teacherid;
        this.coursetime = coursetime;
        this.courseweek = courseweek;
        this.classroom = classroom;
        this.credits = credits;
        this.totalnum = totalnum;
        this.sid = sid;
        this.gender = gender;
        this.age = age;
        this.scode = scode;
        this.grade = grade;
        this.major = major;
        this.scollege = scollege;
        this.sname = sname;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid;
    }

    public String getCoursetime() {
        return coursetime;
    }

    public void setCoursetime(String coursetime) {
        this.coursetime = coursetime;
    }

    public String getCourseweek() {
        return courseweek;
    }

    public void setCourseweek(String courseweek) {
        this.courseweek = courseweek;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public String getCredits() {
        return credits;
    }

    public void setCredits(String credits) {
        this.credits = credits;
    }

    public Integer getTotalnum() {
        return totalnum;
    }

    public void setTotalnum(Integer totalnum) {
        this.totalnum = totalnum;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getScode() {
        return scode;
    }

    public void setScode(String scode) {
        this.scode = scode;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getScollege() {
        return scollege;
    }

    public void setScollege(String scollege) {
        this.scollege = scollege;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }
}
